home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 1137 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.1 KB

  1. Path: lrz-muenchen.de!sun1!ua302aa
  2. From: ua302aa@sun1.lrz-muenchen.de (Kurt Watzka)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: stricmp()
  5. Date: 11 Jan 1996 13:34:24 GMT
  6. Organization: Leibniz-Rechenzentrum, Muenchen (Germany)
  7. Distribution: world
  8. Message-ID: <4d33l0$glf@sparcserver.lrz-muenchen.de>
  9. References: <8213293982604@demosys.gcomm.com>
  10. NNTP-Posting-Host: sun1.lrz-muenchen.de
  11.  
  12. jackal@gcomm.com (Jack Alvrus) writes:
  13.  
  14.  
  15. >Here's a fun question for ya':
  16.  
  17. >stricmp() is an ANSI library function, right?
  18.  
  19. Not afaik.
  20.  
  21. >So it should exhibit, if
  22. >not consistent, at least *documented* behavior, right?
  23.  
  24. Since it is a non-standard function, there should be some documentation
  25. for it because we cannot be expected to know what it does.
  26.  
  27. >My compiler's reference manual does not say one way or another, but a
  28. >quick test showed stricmp("a","^") < 0.
  29.  
  30. All you can possibly know about your stricmp() function can be found 
  31. in the documentation for the library that implements that function.
  32.  
  33. Kurt
  34. -- 
  35. | Kurt Watzka                             Phone : +49-89-2180-6254
  36. | watzka@stat.uni-muenchen.de
  37. | ua302aa@sunmail.lrz-muenchen.de
  38.